function Person(name, age){
    var self = {}
    self.name = name
    self.age = age
    return self
}
let p = new Person('zhangsan',21)
console.log(p);